package org.jeecg.modules.charge.mapper;

import com.baomidou.mybatisplus.annotation.SqlParser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.charge.entity.ChargePayConfig;
import org.jeecg.modules.charge.entity.PayAccountConfig;

/**
 * @Description: 支付配置
 * @Author: jeecg-boot
 * @Date:   2019-08-15
 * @Version: V1.0
 */
public interface ChargePayConfigMapper extends BaseMapper<ChargePayConfig> {
   @SqlParser(filter = true)
   public ChargePayConfig getConfigByPid(@Param("projectId") String projectId, @Param("payMethod") String payMetnod);
   @SqlParser(filter = true)
   public PayAccountConfig getPayConfigByRid(@Param("roomId") String roomId, @Param("feeItemId") String feeItemId, @Param("payMethod") String payMethod);
   @SqlParser(filter = true)
   public PayAccountConfig getPayConfig(@Param("roomId") String roomId, @Param("feeItemId") String feeItemId, @Param("payMethod") String payMethod);
   @SqlParser(filter = true)
   public PayAccountConfig getPayConfigByFid(@Param("floorId") String floorId, @Param("feeItemId") String feeItemId, @Param("payMethod") String payMethod);
}
